home *** CD-ROM | disk | FTP | other *** search
- Path: news.ucdavis.edu!dale!ez058306
- From: ez058306@dale.ucdavis.edu (Phillip Geiger)
- Newsgroups: comp.lang.c++
- Subject: Re: cin and floats
- Date: 14 Jan 1996 06:49:25 GMT
- Organization: University of California, Davis
- Message-ID: <4da91l$p0t@mark.ucdavis.edu>
- References: <4d9d0g$5s0@sol.zynet.net>
- NNTP-Posting-Host: dale.ucdavis.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Damage (damage@nashuauk.zynet.co.uk) wrote:
- : HELP! I can't seem to use "cin" to input into floating point numbers.
- : Whenever I enter a decimal number I just get "Floating Point
- : Overflow". Integers are fine, it's also fine if I enter whole number
- : into the float variable (and yes I'm positive that I've declared the
- : variable correctly).
- ...
-
- I have the *exact* same problem. Borland C++ 4.51 running under Windows
- 95. (I asked one of my cs TAs about it and he started cracking jokes
- about my Pentium 90, then he said he had no clue.)
-
- Anybody? Anybody?
-
-
-
- --
- Phil Geiger
- pggeiger@ucdavis.edu
-